Optimal. Leaf size=209 \[ -\frac {d (d+e x)^{1+n}}{c e^2 (1+n)}+\frac {(d+e x)^{2+n}}{c e^2 (2+n)}+\frac {a (d+e x)^{1+n} \, _2F_1\left (1,1+n;2+n;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d-\sqrt {-a} e}\right )}{2 c^{3/2} \left (\sqrt {c} d-\sqrt {-a} e\right ) (1+n)}+\frac {a (d+e x)^{1+n} \, _2F_1\left (1,1+n;2+n;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}\right )}{2 c^{3/2} \left (\sqrt {c} d+\sqrt {-a} e\right ) (1+n)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 209, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {1643, 845, 70}
\begin {gather*} \frac {a (d+e x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d-\sqrt {-a} e}\right )}{2 c^{3/2} (n+1) \left (\sqrt {c} d-\sqrt {-a} e\right )}+\frac {a (d+e x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}\right )}{2 c^{3/2} (n+1) \left (\sqrt {-a} e+\sqrt {c} d\right )}-\frac {d (d+e x)^{n+1}}{c e^2 (n+1)}+\frac {(d+e x)^{n+2}}{c e^2 (n+2)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 70
Rule 845
Rule 1643
Rubi steps
\begin {align*} \int \frac {x^3 (d+e x)^n}{a+c x^2} \, dx &=\int \left (-\frac {d (d+e x)^n}{c e}+\frac {(d+e x)^{1+n}}{c e}-\frac {a x (d+e x)^n}{c \left (a+c x^2\right )}\right ) \, dx\\ &=-\frac {d (d+e x)^{1+n}}{c e^2 (1+n)}+\frac {(d+e x)^{2+n}}{c e^2 (2+n)}-\frac {a \int \frac {x (d+e x)^n}{a+c x^2} \, dx}{c}\\ &=-\frac {d (d+e x)^{1+n}}{c e^2 (1+n)}+\frac {(d+e x)^{2+n}}{c e^2 (2+n)}-\frac {a \int \left (-\frac {(d+e x)^n}{2 \sqrt {c} \left (\sqrt {-a}-\sqrt {c} x\right )}+\frac {(d+e x)^n}{2 \sqrt {c} \left (\sqrt {-a}+\sqrt {c} x\right )}\right ) \, dx}{c}\\ &=-\frac {d (d+e x)^{1+n}}{c e^2 (1+n)}+\frac {(d+e x)^{2+n}}{c e^2 (2+n)}+\frac {a \int \frac {(d+e x)^n}{\sqrt {-a}-\sqrt {c} x} \, dx}{2 c^{3/2}}-\frac {a \int \frac {(d+e x)^n}{\sqrt {-a}+\sqrt {c} x} \, dx}{2 c^{3/2}}\\ &=-\frac {d (d+e x)^{1+n}}{c e^2 (1+n)}+\frac {(d+e x)^{2+n}}{c e^2 (2+n)}+\frac {a (d+e x)^{1+n} \, _2F_1\left (1,1+n;2+n;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d-\sqrt {-a} e}\right )}{2 c^{3/2} \left (\sqrt {c} d-\sqrt {-a} e\right ) (1+n)}+\frac {a (d+e x)^{1+n} \, _2F_1\left (1,1+n;2+n;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}\right )}{2 c^{3/2} \left (\sqrt {c} d+\sqrt {-a} e\right ) (1+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.20, size = 168, normalized size = 0.80 \begin {gather*} \frac {(d+e x)^{1+n} \left (-\frac {2 \sqrt {c} (d-e (1+n) x)}{e^2 (2+n)}+\frac {a \, _2F_1\left (1,1+n;2+n;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d-\sqrt {-a} e}\right )}{\sqrt {c} d-\sqrt {-a} e}+\frac {a \, _2F_1\left (1,1+n;2+n;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}\right )}{\sqrt {c} d+\sqrt {-a} e}\right )}{2 c^{3/2} (1+n)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {x^{3} \left (e x +d \right )^{n}}{c \,x^{2}+a}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3} \left (d + e x\right )^{n}}{a + c x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^3\,{\left (d+e\,x\right )}^n}{c\,x^2+a} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________